package com.afkt.project.ui.widget.stickyheaders.model;


import com.afkt.project.ui.widget.stickyheaders.viewholder.HeaderViewHolder;
import com.ohos.afkt.ResourceTable;

public class HeaderModel extends ItemModel {

    public HeaderModel(String title, String message) {
        super(title, message);
    }

    public boolean isHeader() {
        return true;
    }

    @Override
    public int getResource(int position) {
        return ResourceTable.Layout_header_item;
    }

    @Override
    public Class getHolderClass(int position) {
        return HeaderViewHolder.class;
    }
}
